package cn.qu.phizline;

import android.util.Base64;

import cn.qu.phizline.common.XRsa;

/**
 * Created by zh on 2017/10/25.
 */

public class AndroidXRsa extends XRsa {
    @Override
    protected String base64EncodeToString(byte[] bytes) {
        return Base64.encodeToString(bytes, Base64.URL_SAFE);
    }

    @Override
    protected byte[] base64DecodeToBytes(String s) {
        return Base64.decode(s, Base64.URL_SAFE);
    }
}
